package edu.xkd;

import edu.xkd.slice.MainAbilitySlice;
import edu.xkd.slice.MainAbilitySlice02;
import edu.xkd.slice.MainAblitySlice03;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);

        //设置主slice
        super.setMainRoute(MainAbilitySlice.class.getName());

        //设置普通slice
        super.addActionRoute("mainabilityslice02", MainAbilitySlice02.class.getName());
        super.addActionRoute("mainabilityslice03", MainAblitySlice03.class.getName());

    }
}
